<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<head>
<%@include file="../common/js.jsp"%>
 <%@include file="../common/jspcommon.jsp"%>
	<%@include file="../common/css.jsp"%>
	
    <link rel="stylesheet" type="text/css" href="/css/style_member.css" />
    <title>会员注册-笔飞美术作品</title>
</head>
<body>
<div id="box">
    <%@include file="../common/header.jsp"%>
    <div id="main_div">
        <div class="site_map"><a href="../index.html">首页</a> 》会员注册</div>
        
        <div id="member_div_2">
            <table cellpadding="0" cellspacing="0" class="member_table">
                <tr>
                    <td class="td_1" valign="top">
                        <div class="left_nav">
                        <ul>
	                            <li><a href="/member.htm">控制面板</a></li>
	                            <li	><a href="/memberInfo.htm">个人资料</a></li>
	                            <li	><a href="/mOrders.htm">我的订单</a></li>
	                            <li><a href="/mMade.htm">我的定制</a></li>
	                            <li ><a href="/mActivity.htm">我的活动</a></li>
	                            <li class="cur"><a href="/mHas.htm">关注收藏欣赏</a></li>
	                            <li><a href="mComment.htm">评论管理</a></li>
	                            <li><a href="mPay.htm">支付保证金</a></li>
	                        </ul>
                        </div>
                    </td>
                    <td class="td_2" valign="top">
                        <div>
                            <table cellpadding="3" cellspacing="1" class="member_table2">
                         		 <tr class="td1">
                                    <td class="td5"><b>我的关注</b></td>
                                </tr>
                                <tr class="td2">
                                    <td>
                                    <div class="gz_list">
                                    <ul>
                                   	 <c:forEach items="${likeList }" var="like">
                                        <li><div class="img_div"><p><a href="#"><img src="${ like.artArtist.photo}_300x200" alt="" class="img_1" /></a></p>
                                        <p class="mt10"><a href="#" onclick="hideHas('${like.id}');"><img src="../images/btn_qxgz.jpg" alt="" /></a></p></div>
	                                        <div class="img_info">
	                                            <p>艺术家：${ like.artArtist.name}</p>
	                                            <p class="p2">浏览：${like.artArtist.viewAmount } </p>
	                                            <p class="p3">欣赏：${like.artArtist.loveAmount }</p>
	                                            <p class="p4">关注他的：${ like.artArtist.likeAmount}</p>
	                                        </div>
                                        </li>
                                        </c:forEach>
                                    </ul>
                                    </div>
                                    </td>
                                </tr>
                                <tr class="td1">
                                    <td class="td5"><b>我的收藏</b></td>
                                </tr>
                                <tr class="td2">
                                    <td>
                                    <div class="sc_list">
                                    <ul>
                                    	<c:forEach items="${keepList }" var="keep">
	                                        <li>
	                                            <p><a href="#"><img src="${keep.artPic.imagePath }_300x200" class="img_2" alt="" /></a></p>
	                                            <p>${keep.artPic.title}</p>
	                                            <p>作家：${keep.artPic.painter}</p>
	                                              <p>${keep.artPic.artClassName }</p>
	                                            <p class="mt10 fc"><a href="#" onclick="hideHas('${keep.id}');"><img src="../images/btn_qxsc.jpg" alt="" /></a></p>
	                                        </li>
                                       </c:forEach>
                                    </ul>
                                    </div>
                                    </td>
                                </tr>
                              <tr class="td1">
                                    <td class="td5"><b>我的欣赏</b></td>
                                </tr>
                                <tr class="td2">
                                    <td>
                                    <div class="sc_list">
                                    <ul>
                                    	<c:forEach items="${lookList }" var="look">
	                                        <li>
	                                            <p><a href="#"><img src="${look.artPic.imagePath }_300x200" class="img_2" alt="" /></a></p>
	                                             <p>${look.artPic.title}</p>
                                           		 <p>作家：${look.artPic.painter}</p>
                                            	  <p>${look.artPic.artClassName }</p>
	                                            <p class="mt10 fc"><a href="#" onclick="hideHas('${look.id}');"><img src="../images/btn_qxxs.jpg" alt="" /></a></p>
	                                        </li>
                                        </c:forEach>
                                    </ul>
                                    </div>
                                    </td>
                                </tr> 
                                  <tr class="td1">
                                    <td class="td5"><b>我的拍卖关注</b></td>
                                </tr>
                                <tr class="td2">
                                    <td>
                                    <div class="sc_list">
                                    <ul>
                                    	<c:forEach items="${loveList }" var="love">
	                                        <li>
	                                            <p><a href="#"><img src="${love.artPic.imagePath }_300x200" class="img_2" alt="" /></a></p>
	                                            <p>${love.artPic.title}</p>
	                                            <p>作家：${love.artPic.painter}</p>
	                                             <p>${love.artPic.artClassName }</p>
	                                            <p class="mt10 fc"><a href="#" onclick="hideHas('${love.id}');"><img src="../images/btn_qxxs.jpg" alt="" /></a></p>
	                                        </li>
                                        </c:forEach>
                                    </ul>
                                    </div>
                                    </td>
                                </tr> 
                            </table>
                        </div>
                    </td>
                </tr>
            </table>

        </div>
		<%@include file="../common/footer.jsp" %>       
    </div>
    
    
</div>
<script type="text/javascript">
	function hideHas(hasId) {
		$.post("/noArtHas.htm", {
			hasId:hasId
		},function(data){
			if(data=="success"){
				window.location.href="/mHas.htm"
			}
			if(data=="error"){
				alert("取消失败了。");
			}
		});
	}
</script>
</body>

</html>
